package com.jse.oo.design.pattern.behavioral.observer.event;

import java.awt.Frame;
import java.awt.event.MouseListener;

public class AConcreteFrameTest extends Frame {
	private static final long serialVersionUID = -8894836561997131551L;

	public static void main(String[] args) {
		AConcreteFrameTest frame = new AConcreteFrameTest();
		MouseListener a = new AConcreteListener();
		MouseListener b = new BConcreteListener();

		frame.addMouseListener(a);
		frame.addMouseListener(b);
		frame.setBounds(400, 300, 200, 200);
		frame.setVisible(true);
	}
}
